package com.zimug.boot.launch.model;


import com.fasterxml.jackson.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
//@JsonPropertyOrder(value={"content","title"})
public class ArticleVO {
  //@JsonIgnore
  private Long id;

  //@JsonProperty("auther")
  private String author;
  private String title;
  private String content;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date createTime;
  //@JsonInclude(JsonInclude.Include.NON_NULL)
  private List<Reader> reader;
}
